@(og:String)(implicit session: Session)
@title = @{
     og match{
        case "mt" => "Mitochondria"
        case "cp" => "Chloroplast"
    }
}
@config.main(title) {

    <div class="body-box">
        <div class="page-box">

            @config.subTitle(title)

            <div class="main-body">
                @components.table()

            </div>
        </div>
    </div>

    <script>

            $(function () {
                let columns = getTableColumns(ogHeader,"table")

                $.post("@routes.OgController.getDataByOg(og)",(data)=>{

                    $("#table").bootstrapTable({
                        data:data,
                        columns:columns
                    })
                })



            })


    </script>

}